package com.dailyblue.java.spring.ssm.mapper;

import com.dailyblue.java.spring.ssm.bean.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpMapper {
    @Select("Select * from emp where empstate=1")
    List<Emp> findAllEmp();

}
